import request from '@/utils/request'

const prePath = '/dataQuery'

/* 分页查询采购明细 */
export function getPurchDetailsQuery(params) {
  return request({
    url: prePath + '/purchDetailsQuery/page',
    method: 'get',
    params,
  })
}

/* 分页查询领用明细 */
export function getRequisitionDetails(params) {
  return request({
    url: prePath + '/requisitionDetails/page',
    method: 'get',
    params,
  })
}

/* 分页查询仓库盘点 */
export function getDepotInventory(params) {
  return request({
    url: prePath + '/depotInventory/page',
    method: 'get',
    params,
  })
}

export function getWarehouseAffairGetPageList(params) {
  return request({
    url: prePath + '/warehouseAffair/getPageList',
    method: 'get',
    params,
  })
}

//导出采购明细查询
export function exportPurchDetailsQuery(params) {
  return request({
    url: prePath + `/purchDetailsQuery/excel`,
    method: 'get',
    responseType: 'blob',
    params,
  })
}

//导出领用明细查询
export function exportRequisitionDetails(params) {
  return request({
    url: prePath + `/requisitionDetails/excel`,
    method: 'get',
    responseType: 'blob',
    params,
  })
}

//导出仓库盘点
export function exportDepotInventory(params) {
  return request({
    url: prePath + `/depotInventory/excel`,
    method: 'get',
    responseType: 'blob',
    params,
  })
}

//导出出入库流水
export function exportWarehouseAffair(data) {
  return request({
    url: prePath + `/warehouseAffair/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}

//打印采购明细查询
export function printPurchDetailsQuery(params) {
  return request({
    url: prePath + `/purchDetailsQuery/print`,
    method: 'get',
    params,
  })
}

//打印领用明细查询
export function printRequisitionDetails(params) {
  return request({
    url: prePath + `/requisitionDetails/print`,
    method: 'get',
    params,
  })
}

//打印仓库盘点
export function printDepotInventory(params) {
  return request({
    url: prePath + `/depotInventory/print`,
    method: 'get',
    params,
  })
}

//打印出入库流水
export function printWarehouseAffair(params) {
  return request({
    url: prePath + `/warehouseAffair/print`,
    method: 'get',
    params,
  })
}

//分页查询库存
export function getDepotStorage(params) {
  return request({
    url: prePath + '/depotStorageQuery/page',
    method: 'get',
    params,
  })
}

//打印查询库存
export function printDepotStorage(params) {
  return request({
    url: prePath + '/depotStorageQuery/print',
    method: 'get',
    params,
  })
}

//导出查询库存为Excel
export function exportDepotStorage(params) {
  return request({
    url: prePath + '/depotStorageQuery/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}

//分页查询库存
export function getDepotStockQueryCustomizeList(data) {
  return request({
    url: prePath + '/depotStockQuery/customizeList/page',
    method: 'post',
    data,
  })
}
export function getDepotStockQueryCustomizeSumAmount(data) {
  return request({
    url: prePath + '/depotStockQuery/customizeList/sumAount',
    method: 'post',
    data,
  })
}

export function detailDepotStockQuery(id) {
  return request({
    url: prePath + '/depotStockQuery/' + id,
    method: 'get',
  })
}

export function getCargoStockQueryCustomizeSumAmount(data) {
  return request({
    url: prePath + '/shelfStockQuery/customizeList/sumAmount',
    method: 'post',
    data,
  })
}
export function getDepotStockQueryCustomizeAll(data) {
  return request({
    url: prePath + '/depotStockQuery/customizeList/all',
    method: 'post',
    data,
  })
}
export function getDepotStockQueryCustomizeGroups(data) {
  return request({
    url: prePath + '/depotStockQuery/customizeGroups',
    method: 'post',
    data,
  })
}

export function depotStockQueryPrint(data) {
  return request({
    url: prePath + '/depotStockQuery/print',
    method: 'post',
    data,
  })
}

export function depotStockQueryExcel(data) {
  return request({
    url: prePath + '/depotStockQuery/excel',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//打印二维码
export function depotStockPrintQrCode(data) {
  return request({
    url: prePath + '/depotStockQuery/printSingleQrCode',
    method: 'post',
    data,
  })
}
export function depotStockDetailsPrintQrCode(data) {
  return request({
    url: prePath + '/depotStockQuery/printQrCode',
    method: 'post',
    data,
  })
}

//------------------------------------
//分页查询库存
export function getCargoSpaceStockQueryCustomizeList(data) {
  return request({
    url: prePath + '/shelfStockQuery/customizeList/page',
    method: 'post',
    data,
  })
}
export function getCargoSpaceStockQueryCustomizeAll(data) {
  return request({
    url: prePath + '/shelfStockQuery/customizeList/all',
    method: 'post',
    data,
  })
}
export function getCargoSpaceStockQueryCustomizeGroups(data) {
  return request({
    url: prePath + '/shelfStockQuery/customizeGroups',
    method: 'post',
    data,
  })
}

export function cargoSpaceStockQueryPrint(data) {
  return request({
    url: prePath + '/shelfStockQuery/print',
    method: 'post',
    data,
  })
}

export function cargoSpaceStockQueryExcel(data) {
  return request({
    url: prePath + '/shelfStockQuery/excel',
    responseType: 'blob',
    method: 'post',
    data,
  })
}

//-------------------------------------

//分页查询设备库存
export function getAssetDepotStockQueryCustomizeList(data) {
  return request({
    url: prePath + '/assetDepotStockQuery/customizeList/page',
    method: 'post',
    data,
  })
}
export function getAssetDepotStockQueryCustomizeAll(data) {
  return request({
    url: prePath + '/assetDepotStockQuery/customizeList/all',
    method: 'post',
    data,
  })
}
export function getAssetDepotStockQueryCustomizeGroups(data) {
  return request({
    url: prePath + '/assetDepotStockQuery/customizeGroups',
    method: 'post',
    data,
  })
}

export function assetDepotStockQueryPrint(data) {
  return request({
    url: prePath + '/assetDepotStockQuery/print',
    method: 'post',
    data,
  })
}

export function assetDepotStockQueryExcel(data) {
  return request({
    url: prePath + '/assetDepotStockQuery/excel',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//打印二维码
export function equipmentDepotStockPrintQrCode(data) {
  return request({
    url: prePath + '/assetDepotStockQuery/printSingleQrCode',
    method: 'post',
    data,
  })
}
export function equipmentDepotStockDetailsPrintQrCode(data) {
  return request({
    url: prePath + '/assetDepotStockQuery/printQrCode',
    method: 'post',
    data,
  })
}

//-------------------------------------

//分页消耗查询
export function getConsume(params) {
  return request({
    url: prePath + '/consume/page',
    method: 'get',
    params,
  })
}

//打印消耗查询
export function printConsume(params) {
  return request({
    url: prePath + '/consume/print',
    method: 'get',
    params,
  })
}

//导出消耗查询为Excel
export function exportConsume(params) {
  return request({
    url: prePath + '/consume/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}
//-------------------------------------
//分页消耗明细查询
export function getConsumeDetail(params) {
  return request({
    url: prePath + '/consumeDetails/page',
    method: 'get',
    params,
  })
}

//打印消耗明细
export function printConsumeDetail(params) {
  return request({
    url: prePath + '/consumeDetails/print',
    method: 'get',
    params,
  })
}

//导出消耗明细为Excel
export function exportConsumeDetail(params) {
  return request({
    url: prePath + '/consumeDetails/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}

// 验证记录查询分页
export function checkRecordsPage(params) {
  return request({
    url: prePath + '/checkRecords/page',
    method: 'get',
    params,
  })
}

//打印验证记录
export function checkRecordsPrint(params) {
  return request({
    url: prePath + '/checkRecords/print',
    method: 'get',
    params,
  })
}

//导出验证记录为Excel
export function checkRecordsExcel(params) {
  return request({
    url: prePath + '/checkRecords/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}

//手术跟台记录查询
export function withOperateTablePage(params) {
  return request({
    url: prePath + '/withOperateTable/page',
    method: 'get',
    params,
  })
}

//手术跟台记录删除
export function withOperateTableDelete(params) {
  return request({
    url: prePath + '/withOperateTable/' + params,
    method: 'delete',
  })
}

// 仓库进销存报表分页查询
export function purchaseSaleStorageQueryPageByDepot(params) {
  return request({
    url: prePath + '/purchaseSaleStorageQuery/page',
    method: 'get',
    params,
  })
}

// 仓库进销存报表打印
export function purchaseSaleStorageQueryPrintByDepot(params) {
  return request({
    url: prePath + '/purchaseSaleStorageQuery/print',
    method: 'get',
    params,
  })
}

// 仓库进销存报表导出excel
export function purchaseSaleStorageQueryExcelByDepot(params) {
  return request({
    url: prePath + '/purchaseSaleStorageQuery/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 分页查询卫材库出库流水汇总
export function exportSummaryOnlyWCKQueryGroupByOrderNoPage(params) {
  return request({
    url: prePath + '/exportSummaryOnlyWCKQuery/groupByOrderNo/page',
    method: 'get',
    params,
  })
}

// 卫材库出库流水汇总报表导出Excel
export function exportSummaryOnlyWCKQueryExcel(params) {
  return request({
    url: prePath + '/exportSummaryOnlyWCKQuery/groupByOrderNo/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 卫材库出库流水汇总报表打印
export function exportSummaryOnlyWCKQueryPrint(params) {
  return request({
    url: prePath + '/exportSummaryOnlyWCKQuery/groupByOrderNo/print',
    method: 'get',
    params,
  })
}

// 分页查询卫材库入库流水汇总
export function storeSummaryOnlyWCKQueryGroupByOrderNoPage(params) {
  return request({
    url: prePath + '/storeSummaryOnlyWCKQuery/groupByOrderNo/page',
    method: 'get',
    params,
  })
}

// 卫材库入库流水汇总报表导出Excel
export function storeSummaryOnlyWCKQueryExcel(params) {
  return request({
    url: prePath + '/storeSummaryOnlyWCKQuery/groupByOrderNo/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 卫材库入库流水汇总报表打印
export function storeSummaryOnlyWCKQueryPrint(params) {
  return request({
    url: prePath + '/storeSummaryOnlyWCKQuery/groupByOrderNo/print',
    method: 'get',
    params,
  })
}

// 分页查询非卫材部门入库流水汇总
export function storeSummaryExcludeWCKQueryGroupByOrderNoPage(params) {
  return request({
    url: prePath + '/storeSummaryExcludeWCKQuery/groupByOrderNo/page',
    method: 'get',
    params,
  })
}

// 非卫材部门入库流水汇总报表导出Excel
export function storeSummaryExcludeWCKQueryExcel(params) {
  return request({
    url: prePath + '/storeSummaryExcludeWCKQuery/groupByOrderNo/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 非卫材部门入库流水汇总报表打印
export function storeSummaryExcludeWCKQueryPrint(params) {
  return request({
    url: prePath + '/storeSummaryExcludeWCKQuery/groupByOrderNo/print',
    method: 'get',
    params,
  })
}

// 分页查询非卫材部门出库流水汇总
export function exportSummaryExcludeWCKQueryGroupByOrderNoPage(params) {
  return request({
    url: prePath + '/exportSummaryExcludeWCKQuery/groupByOrderNo/page',
    method: 'get',
    params,
  })
}

// 非卫材部门出库流水汇总报表导出Excel
export function exportSummaryExcludeWCKQueryExcel(params) {
  return request({
    url: prePath + '/exportSummaryExcludeWCKQuery/groupByOrderNo/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 非卫材部门出库流水汇总报表打印
export function exportSummaryExcludeWCKQueryPrint(params) {
  return request({
    url: prePath + '/exportSummaryExcludeWCKQuery/groupByOrderNo/print',
    method: 'get',
    params,
  })
}
//财务科目入库统计
export function financialPurchPage(params) {
  return request({
    url: prePath + '/financialPurch/page',
    method: 'get',
    params,
  })
}
//财务科目入库统计扩展
export function selectDetailBySupplierId(params) {
  return request({
    url: prePath + '/financialPurch/selectDetailBySupplierId',
    method: 'get',
    params,
  })
}
//财务科目入库统计打印
export function financialPurchPrint(params) {
  return request({
    url: prePath + '/financialPurch/print',
    method: 'get',
    params,
  })
}
//财务科目入库统计导出
export function financialPurchExcel(params) {
  return request({
    url: prePath + '/financialPurch/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

//财务科目入库统计
export function financialExportPage(params) {
  return request({
    url: prePath + '/financialExport/page',
    method: 'get',
    params,
  })
}
//财务科目入库统计打印
export function financialExportPrint(params) {
  return request({
    url: prePath + '/financialExport/print',
    method: 'get',
    params,
  })
}
//财务科目入库统计导出
export function financialExportExcel(params) {
  return request({
    url: prePath + '/financialExport/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

//财务科目出库汇总分页查询
export function financialDeptExportPage(params) {
  return request({
    url: prePath + '/financialExport/page',
    method: 'get',
    params,
  })
}
//财务科目出库汇总打印
export function financialDeptExportPrint(params) {
  return request({
    url: prePath + '/financialExport/print',
    method: 'get',
    params,
  })
}
//财务科目出库汇总导出
export function financialDeptExportExcel(params) {
  return request({
    url: prePath + '/financialExport/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 财务科目出库汇总明细查询
export function financialExportDetails(params) {
  return request({
    url: prePath + '/financialExport/selectAllByDeptId',
    method: 'get',
    params,
  })
}

// 按产品库存流水汇总分页查询
export function depotAffairSummaryQueryGroupByProductPage(params) {
  return request({
    url: prePath + '/depotAffairSummaryQuery/groupByProduct/page',
    method: 'get',
    params,
  })
}

// 按产品库存流水汇总导出excel
export function depotAffairSummaryQueryGroupByProductExcel(params) {
  return request({
    url: prePath + '/depotAffairSummaryQuery/groupByProduct/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 按产品库存流水汇总打印
export function depotAffairSummaryQueryGroupByProductPrint(params) {
  return request({
    url: prePath + '/depotAffairSummaryQuery/groupByProduct/print',
    method: 'get',
    params,
  })
}

// 按订单库存流水汇总分页查询
export function depotAffairSummaryQueryGroupByOrderNoPage(params) {
  return request({
    url: prePath + '/depotAffairSummaryQuery/groupByOrderNo/page',
    method: 'get',
    params,
  })
}

// 按订单库存流水汇总导出excel
export function depotAffairSummaryQueryGroupByOrderNoExcel(params) {
  return request({
    url: prePath + '/depotAffairSummaryQuery/groupByOrderNo/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 按订单库存流水汇总打印
export function depotAffairSummaryQueryGroupByOrderNoPrint(params) {
  return request({
    url: prePath + '/depotAffairSummaryQuery/groupByOrderNo/print',
    method: 'get',
    params,
  })
}

//统计患者耗材使用情况
export function sticByPatient(params) {
  return request({
    url: prePath + '/patient/sticByPatient',
    method: 'get',
    params,
  })
}

//打印患者耗材使用情况
export function sticByPatientPrint(params) {
  return request({
    url: prePath + '/patient/print',
    method: 'get',
    params,
  })
}
// 导出患者耗材使用情况
export function sticByPatientExcel(params) {
  return request({
    url: prePath + '/patient/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 产品进销存汇总分页查询
export function purchaseSaleStorageQueryPage(data) {
  return request({
    url: prePath + '/purchaseSaleStorageQuery/groupByProduct/page',
    method: 'post',
    data,
  })
}

// 产品进销存汇总导出excel
export function purchaseSaleStorageQueryExcel(data) {
  return request({
    url: prePath + '/purchaseSaleStorageQuery/groupByProduct/excel',
    method: 'post',
    responseType: 'blob',
    data,
  })
}

// 产品进销存汇总打印
export function purchaseSaleStorageQueryPrint(data) {
  return request({
    url: prePath + '/purchaseSaleStorageQuery/groupByProduct/print',
    method: 'post',
    data,
  })
}

// 产品/库存进销存汇总分页查询产品
export function purchaseSaleCoreProductQuery(data) {
  return request({
    url: prePath + '/purchaseSaleStorageQuery/groupByProduct/coreProduct/page',
    method: 'post',
    data,
  })
}

// 产品财务汇总分页查询
export function purchaseSaleStorageFinancialQueryPage(params) {
  return request({
    url: prePath + '/purchaseSaleStorageQuery/groupBySingleProduct/page',
    method: 'get',
    params,
  })
}

// 产品财务汇总分页查询产品
export function purchaseSaleProductQuery(params) {
  return request({
    url:
      prePath +
      '/purchaseSaleStorageQuery/groupBySingleProduct/coreProduct/page',
    method: 'get',
    params,
  })
}

// 产品财务汇总导出excel
export function purchaseSaleStorageFinancialQueryExcel(params) {
  return request({
    url: prePath + '/purchaseSaleStorageQuery/groupBySingleProduct/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 产品财务汇总打印
export function purchaseSaleStorageFinancialQueryPrint(params) {
  return request({
    url: prePath + '/purchaseSaleStorageQuery/groupBySingleProduct/print',
    method: 'get',
    params,
  })
}

// 手术跟台汇总分页查询
export function operationProductPage(params) {
  return request({
    url: prePath + '/operationProduct/getPage',
    method: 'get',
    params,
  })
}

// 手术跟台汇总导出excel
export function operationProductExcel(params) {
  return request({
    url: prePath + '/operationProduct/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

// 手术跟台汇总打印
export function operationProductPrint(params) {
  return request({
    url: prePath + '/operationProduct/print',
    method: 'get',
    params,
  })
}

// 耗材追溯产品信息查询

export function productMsgPage(params) {
  return request({
    url: prePath + '/productSource/selectProductList',
    method: 'get',
    params,
  })
}
// 耗材追溯产品流程信息查询
export function productSourceAll(params) {
  return request({
    url: prePath + '/productSource/all',
    method: 'get',
    params,
  })
}
// 耗材追溯打印
export function productSourcePrint(data) {
  return request({
    url: prePath + '/productSource/printQrCode',
    method: 'post',
    data,
  })
}

// 耗材使用情况报表打印
export function productUseRateQueryPrintByDepot(params) {
  return request({
    url: prePath + '/productUseRateQuery/print',
    method: 'get',
    params,
  })
}

// 耗材使用情况导出excel
export function productUseRateQueryExcel(data) {
  return request({
    url: prePath + '/productUseRateQuery/excel',
    method: 'post',
    responseType: 'blob',
    data,
  })
}

// 其他入库汇总
export function getOtherStorageQuery(params) {
  return request({
    url: prePath + '/otherStorageQuery/page',
    method: 'get',
    params,
  })
}
//其他入库汇总打印
export function otherStorageQueryPrint(params) {
  return request({
    url: prePath + '/otherStorageQuery/print',
    method: 'get',
    params,
  })
}
//其他入库汇总导出
export function otherStorageQueryExcel(params) {
  return request({
    url: prePath + '/otherStorageQuery/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}
// 其他出库汇总
export function getOtherExportQuery(params) {
  return request({
    url: prePath + '/otherExportQuery/page',
    method: 'get',
    params,
  })
}
//其他出库汇总打印
export function otherExportQueryPrint(params) {
  return request({
    url: prePath + '/otherExportQuery/print',
    method: 'get',
    params,
  })
}
//其他出库汇总导出
export function otherExportQueryExcel(params) {
  return request({
    url: prePath + '/otherExportQuery/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}
//盘点出入库汇总
export function getInventoryExportAndStoreQuery(params) {
  return request({
    url: prePath + '/InventoryExportAndStoreQuery/page',
    method: 'get',
    params,
  })
}

//盘点出入库总汇总
export function getInventoryExportAndStoreSummary(params) {
  return request({
    url: prePath + '/InventoryExportAndStoreQuery/summary',
    method: 'get',
    params,
  })
}
//其他出库汇总打印
export function InventoryExportAndStoreQueryPrint(params) {
  return request({
    url: prePath + '/InventoryExportAndStoreQuery/print',
    method: 'get',
    params,
  })
}
//其他出库汇总导出
export function InventoryExportAndStoreQueryExcel(params) {
  return request({
    url: prePath + '/InventoryExportAndStoreQuery/excel',
    method: 'get',
    responseType: 'blob',
    params,
  })
}

//分页查询历史库存
export function historyDepotStorageQueryPage(params) {
  return request({
    url: prePath + '/historyDepotStorageQuery/page',
    method: 'get',
    params,
  })
}
//分页查询历史汇总
export function historyDepotStorageQuerySummary(params) {
  return request({
    url: prePath + '/depotStorage/historySummary',
    method: 'get',
    params,
  })
}

//打印查询历史库存
export function historyDepotStorageQueryPrint(params) {
  return request({
    url: prePath + '/historyDepotStorageQuery/print',
    method: 'get',
    params,
  })
}

//导出查询历史库存为Excel
export function historyDepotStorageQueryExcel(params) {
  return request({
    url: prePath + '/historyDepotStorageQuery/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}

//查询历史库存个体码详情
export function historyDepotStorageQueryDetailAll(params) {
  return request({
    url: prePath + '/historyDepotStorageQuery/detail/all',
    method: 'get',
    params,
  })
}

//分页查询历史库存
export function historyDepotStockQueryPage(params) {
  return request({
    url: prePath + '/historyDepotStockQuery/all',
    method: 'get',
    params,
  })
}
//分页查询历史汇总
export function historyDepotStockQuerySummary(params) {
  return request({
    url: prePath + '/historyDepotStockQuery/historySummary',
    method: 'get',
    params,
  })
}
//获取历史库存分页数据
export function getHistoryDepotStockQueryCustomizeList(data) {
  return request({
    url: prePath + '/historyDepotStockQuery/customizeList/page',
    method: 'post',
    data,
  })
}
//获取历史库存分页数据
export function getHistoryDepotStockQueryCustomizeAll(data) {
  return request({
    url: prePath + '/historyDepotStockQuery/customizeList/all',
    method: 'post',
    data,
  })
}
//获取历史库存分页数据
export function historyDepotStockQueryCustomizeGroups(data) {
  return request({
    url: prePath + '/historyDepotStockQuery/customizeGroups',
    method: 'post',
    data,
  })
}
//打印二维码
export function historyDepotStockPrintQrCode(data) {
  return request({
    url: prePath + '/historyDepotStockQuery/printSingleQrCode',
    method: 'post',
    data,
  })
}
export function historyDepotStockDetailsPrintQrCode(data) {
  return request({
    url: prePath + '/historyDepotStockQuery/printQrCode',
    method: 'post',
    data,
  })
}
//打印查询历史库存
export function historyDepotStockQueryPrint(data) {
  return request({
    url: prePath + '/historyDepotStockQuery/print',
    method: 'post',
    data,
  })
}

//导出查询历史库存为Excel
export function historyDepotStockQueryExcel(data) {
  return request({
    url: prePath + '/historyDepotStockQuery/excel',
    responseType: 'blob',
    method: 'post',
    data,
  })
}

//查询历史库存个体码详情
export function historyDepotStockQueryDetailAll(params) {
  return request({
    url: prePath + '/historyDepotStockQuery/detail/all',
    method: 'get',
    params,
  })
}

//移库明细查询
export function transferDetailQueryPage(params) {
  return request({
    url: prePath + '/transferDetailQuery/page',
    method: 'get',
    params,
  })
}
//移库明细打印
export function transferDetailQueryPrint(params) {
  return request({
    url: prePath + '/transferDetailQuery/print',
    method: 'get',
    params,
  })
}
//移库明细导出
export function transferDetailQueryExcel(params) {
  return request({
    url: prePath + '/transferDetailQuery/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}
//移库明细个体详情
export function transferDetailQueryGetUnityCode(params) {
  return request({
    url: prePath + '/transferDetailQuery/getUnityCode',
    method: 'get',
    params,
  })
}

//收货入库明细查询
export function purchStorageOrderQueryPage(params) {
  return request({
    url: prePath + '/purchStorageOrderQuery/page',
    method: 'get',
    params,
  })
}
//收货入库明细打印
export function purchStorageOrderQueryPrint(params) {
  return request({
    url: prePath + '/purchStorageOrderQuery/print',
    method: 'get',
    params,
  })
}
//收货入库明细导出
export function purchStorageOrderQueryExcel(params) {
  return request({
    url: prePath + '/purchStorageOrderQuery/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}
//财务科目产品查询
export function financialPurchProductPage(params) {
  return request({
    url: prePath + '/financialPurchProduct/page',
    method: 'get',
    params,
  })
}
//财务科目产品扩展
export function selectDetailBuProductId(params) {
  return request({
    url: prePath + '/financialPurchProduct/selectDetailBuProductId',
    method: 'get',
    params,
  })
}
//财务科目产品打印
export function financialPurchProductPrint(params) {
  return request({
    url: prePath + '/financialPurchProduct/print',
    method: 'get',
    params,
  })
}
//财务科目产品导出
export function financialPurchProductExcel(params) {
  return request({
    url: prePath + '/financialPurchProduct/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}
//财务科目单据查询
export function financialPurchOrderPage(params) {
  return request({
    url: prePath + '/financialPurchOrder/page',
    method: 'get',
    params,
  })
}
//财务科目单据打印
export function financialPurchOrderPrint(params) {
  return request({
    url: prePath + '/financialPurchOrder/print',
    method: 'get',
    params,
  })
}
//财务科目单据导出
export function financialPurchOrderExcel(params) {
  return request({
    url: prePath + '/financialPurchOrder/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}

//财务科目出库单据查询
export function FinancialExportOrderPage(params) {
  return request({
    url: prePath + '/FinancialExportOrder/page',
    method: 'get',
    params,
  })
}
//财务科目出库单据打印
export function FinancialExportOrderPrint(params) {
  return request({
    url: prePath + '/FinancialExportOrder/print',
    method: 'get',
    params,
  })
}
//财务科目出库单据导出
export function FinancialExportOrderExcel(params) {
  return request({
    url: prePath + '/FinancialExportOrder/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}
//财务科目出库产品查询
export function FinancialProductOrderPage(params) {
  return request({
    url: prePath + '/FinancialProductOrder/page',
    method: 'get',
    params,
  })
}
//财务科目出库产品打印
export function FinancialProductOrderPrint(params) {
  return request({
    url: prePath + '/FinancialProductOrder/print',
    method: 'get',
    params,
  })
}
//财务科目出库产品导出
export function FinancialProductOrderExcel(params) {
  return request({
    url: prePath + '/FinancialProductOrder/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}
//财务科目出库产品下拉
export function FinancialProductOrderAll(params) {
  return request({
    url: prePath + '/FinancialProductOrder/all',
    method: 'get',
    params,
  })
}

//手术跟台库存查询
export function withTableStoragePage(params) {
  return request({
    url: prePath + '/withTableStorage/page',
    method: 'get',
    params,
  })
}
//手术跟台库存查询打印
export function withTableStoragePrint(params) {
  return request({
    url: prePath + '/withTableStorage/print',
    method: 'get',
    params,
  })
}
//手术跟台库存查询导出
export function withTableStorageExcel(params) {
  return request({
    url: prePath + '/withTableStorage/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}

//历史账期明细查询
export function HistoryPaymentDayQueryPage(params) {
  return request({
    url: prePath + '/historyPaymentDayQuery/page',
    method: 'get',
    params,
  })
}
//历史账期明细汇总
export function HistoryPaymentDayQuerySummary(params) {
  return request({
    url: prePath + '/historyPaymentDayQuery/summary',
    method: 'get',
    params,
  })
}
//历史账期明细查询打印
export function HistoryPaymentDayQueryPrint(params) {
  return request({
    url: prePath + '/historyPaymentDayQuery/print',
    method: 'get',
    params,
  })
}
//历史账期明细查询导出
export function HistoryPaymentDayQueryExcel(params) {
  return request({
    url: prePath + '/historyPaymentDayQuery/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}
//当前账期明细查询
export function currentPaymentDayQueryPage(params) {
  return request({
    url: prePath + '/currentPaymentDayQuery/page',
    method: 'get',
    params,
  })
}
//当前账期明细汇总
export function currentPaymentDayQuerySummary(params) {
  return request({
    url: prePath + '/currentPaymentDayQuery/summary',
    method: 'get',
    params,
  })
}
//当前账期明细查询打印
export function currentPaymentDayQueryPrint(params) {
  return request({
    url: prePath + '/currentPaymentDayQuery/print',
    method: 'get',
    params,
  })
}
//当前账期明细查询导出
export function currentPaymentDayQueryExcel(params) {
  return request({
    url: prePath + '/currentPaymentDayQuery/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}
//全院消耗查询
export function productConsumePage(params) {
  return request({
    url: prePath + '/productConsume/page',
    method: 'get',
    params,
  })
}
//全院消耗打印
export function productConsumePrint(params) {
  return request({
    url: prePath + '/productConsume/print',
    method: 'get',
    params,
  })
}
//全院消耗导出
export function productConsumeExcel(params) {
  return request({
    url: prePath + '/productConsume/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}
//全院消耗下拉
export function productConsumeSelectOne(params) {
  return request({
    url: prePath + '/productConsume/selectOne',
    method: 'get',
    params,
  })
}
//部门消耗查询
export function deptProductConsumePage(params) {
  return request({
    url: prePath + '/deptProductConsume/page',
    method: 'get',
    params,
  })
}
//部门消耗打印
export function deptProductConsumePrint(params) {
  return request({
    url: prePath + '/deptProductConsume/print',
    method: 'get',
    params,
  })
}
//部门消耗导出
export function deptProductConsumeExcel(params) {
  return request({
    url: prePath + '/deptProductConsume/excel',
    responseType: 'blob',
    method: 'get',
    params,
  })
}

//卫材库入库产品汇总单价查询
export function financialPurchProductSelectAllPrice(id) {
  return request({
    url: prePath + '/financialPurchProduct/selectAllPrice/' + id,
    method: 'get',
  })
}
//获取库存产品汇总
export function depotStorageCurrentSummary(params) {
  return request({
    url: prePath + '/depotStorage/currentSummary',
    method: 'get',
    params,
  })
}

/* 分页查询领用明细 */
export function productUseRateQueryPage(params) {
  return request({
    url: prePath + '/productUseRateQuery/page',
    method: 'get',
    params,
  })
}

//导出出入库汇总
export function exportWarehouseSummaryAffair(data) {
  return request({
    url: prePath + `/warehouseSummaryAffair/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}

//打印出入库汇总
export function printWarehouseSummaryAffair(data) {
  return request({
    url: prePath + `/warehouseSummaryAffair/print`,
    method: 'post',
    data,
  })
}

export function getWarehouseSummaryAffairCustomizePage(data) {
  return request({
    url: prePath + '/warehouseSummaryAffair/customizeList/page',
    method: 'post',
    data,
  })
}
export function getWarehouseSummaryAffairCustomizeSum(data) {
  return request({
    url: prePath + '/warehouseSummaryAffair/customizeSum',
    method: 'post',
    data,
  })
}

export function getWarehouseSummaryAffairCustomizeList(data) {
  return request({
    url: prePath + '/warehouseSummaryAffair/customizeList/all',
    method: 'post',
    data,
  })
}

export function getWarehouseSummaryAffairCustomizeGroups(data) {
  return request({
    url: prePath + '/warehouseSummaryAffair/customizeGroups',
    method: 'post',
    data,
  })
}

//导出出入库汇总
export function exportDeptPurchApplicationQuery(data) {
  return request({
    url: prePath + `/deptPurchApplicationQuery/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}

//打印出入库汇总
export function printDeptPurchApplicationQuery(data) {
  return request({
    url: prePath + `/deptPurchApplicationQuery/print`,
    method: 'post',
    data,
  })
}

export function getDeptPurchApplicationQueryCustomizePage(data) {
  return request({
    url: prePath + '/deptPurchApplicationQuery/customizeList/page',
    method: 'post',
    data,
  })
}

export function getDeptPurchApplicationQueryCustomizeList(data) {
  return request({
    url: prePath + '/deptPurchApplicationQuery/customizeList/all',
    method: 'post',
    data,
  })
}

export function getDeptPurchApplicationQueryCustomizeGroups(data) {
  return request({
    url: prePath + '/deptPurchApplicationQuery/customizeGroups',
    method: 'post',
    data,
  })
}

//导出出入库汇总
export function exportSupplierPurchRateQuery(data) {
  return request({
    url: prePath + `/supplierPurchRateQuery/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}

//打印出入库汇总
export function printSupplierPurchRateQuery(data) {
  return request({
    url: prePath + `/supplierPurchRateQuery/print`,
    method: 'post',
    data,
  })
}

export function getSupplierPurchRateQueryCustomizePage(data) {
  return request({
    url: prePath + '/supplierPurchRateQuery/customizeList/page',
    method: 'post',
    data,
  })
}

export function getSupplierPurchRateQueryCustomizeList(data) {
  return request({
    url: prePath + '/supplierPurchRateQuery/customizeList/all',
    method: 'post',
    data,
  })
}

export function getSupplierPurchRateQueryCustomizeGroups(data) {
  return request({
    url: prePath + '/supplierPurchRateQuery/customizeGroups',
    method: 'post',
    data,
  })
}
//导出出入库汇总
export function exportPurchTotalNetworkQuery(data) {
  return request({
    url: prePath + `/purchTotalNetworkQuery/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}

//打印出入库汇总
export function printPurchTotalNetworkQuery(data) {
  return request({
    url: prePath + `/purchTotalNetworkQuery/print`,
    method: 'post',
    data,
  })
}

export function getPurchTotalNetworkQueryCustomizePage(data) {
  return request({
    url: prePath + '/purchTotalNetworkQuery/customizeList/page',
    method: 'post',
    data,
  })
}
export function getPurchTotalNetworkQueryCustomizeSum(data) {
  return request({
    url: prePath + '/purchTotalNetworkQuery/customizeSum',
    method: 'post',
    data,
  })
}

export function getPurchTotalNetworkQueryCustomizeList(data) {
  return request({
    url: prePath + '/purchTotalNetworkQuery/customizeList/all',
    method: 'post',
    data,
  })
}

export function getPurchTotalNetworkQueryCustomizeGroups(data) {
  return request({
    url: prePath + '/purchTotalNetworkQuery/customizeGroups',
    method: 'post',
    data,
  })
}
export function getProductPurchApplicationQueryRestCustomizeListPage(data) {
  return request({
    url: prePath + '/productPurchApplicationQueryRest/customizeList/page',
    method: 'post',
    data,
  })
}
export function getProductPurchApplicationQueryRestCustomizeListAll(data) {
  return request({
    url: prePath + '/productPurchApplicationQueryRest/customizeList/all',
    method: 'post',
    data,
  })
}
export function getProductPurchApplicationQueryRestCustomizeGroups(data) {
  return request({
    url: prePath + '/productPurchApplicationQueryRest/customizeGroups',
    method: 'post',
    data,
  })
}
export function exportProductPurchApplicationQueryRest(data) {
  return request({
    url: prePath + `/productPurchApplicationQueryRest/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}

//打印
export function printProductPurchApplicationQueryRest(data) {
  return request({
    url: prePath + '/productPurchApplicationQueryRest/print',
    method: 'post',
    data,
  })
}

export function getChargeItemRecordCustomizeList(data) {
  return request({
    url: '/his/chargeItemRecord/customizeList/page',
    method: 'post',
    data,
  })
}

export function ChargeItemRecordConsume(data) {
  return request({
    url: '/his/chargeItemRecord/consume',
    method: 'post',
    data,
  })
}

export function ChargeItemRecordInsertRevoke(data) {
  return request({
    url: '/his/chargeItemRecord/insertRevoke',
    method: 'post',
    data,
  })
}
export function ChargeItemRecordClose(data) {
  return request({
    url: '/his/chargeItemRecord/close',
    method: 'post',
    data,
  })
}
//部门领用明细汇总
export function getDeptUseDetailSummaryPage(data) {
  return request({
    url: prePath + '/deptUseDetailSummary/selectDeptUseDetailSummary',
    method: 'post',
    data,
  })
}
export function exportDeptUseDetailSummary(data) {
  return request({
    url: prePath + `/deptUseDetailSummary/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
export function printDeptUseDetailSummary(data) {
  return request({
    url: prePath + '/deptUseDetailSummary/print',
    method: 'post',
    data,
  })
}
// 内蒙进销存报表查询
export function selectPurchaseSalesList(data) {
  return request({
    url: prePath + '/purchaseSalesStock/selectPurchaseSalesList',
    method: 'post',
    data,
  })
}
// 进销存excel导出
export function exportPurchaseSalesStock(data) {
  return request({
    url: prePath + `/purchaseSalesStock/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
// 进销存打印
export function printPurchaseSalesStock(data) {
  return request({
    url: prePath + '/purchaseSalesStock/print',
    method: 'post',
    data,
  })
}
// 内蒙进销存报表查询
export function selectPurchaseSalesAffairList(data) {
  return request({
    url: prePath + '/purchaseSalesAffairStock/selectPurchaseSalesList',
    method: 'post',
    data,
  })
}
// 进销存excel导出
export function exportPurchaseSalesAffairStock(data) {
  return request({
    url: prePath + `/purchaseSalesAffairStock/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
// 进销存打印
export function printPurchaseSalesAffairStock(data) {
  return request({
    url: prePath + '/purchaseSalesAffairStock/print',
    method: 'post',
    data,
  })
}
// 内蒙进销存报表查询
export function selectPurchaseSalesStockOldList(data) {
  return request({
    url: prePath + '/purchaseSalesStockOld/selectPurchaseSalesList',
    method: 'post',
    data,
  })
}
// 进销存excel导出
export function exportPurchaseSalesStockOld(data) {
  return request({
    url: prePath + `/purchaseSalesStockOld/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
// 进销存打印
export function printPurchaseSalesStockOld(data) {
  return request({
    url: prePath + '/purchaseSalesStockOld/print',
    method: 'post',
    data,
  })
}
// 内蒙中心入库查询
export function selectPurchaseSalesStockIn(data) {
  return request({
    url: prePath + '/purchaseSalesStockIn/selectPurchaseSalesInList',
    method: 'post',
    data,
  })
}
// 内蒙中心入库导出
export function exportPurchaseSalesStockIn(data) {
  return request({
    url: prePath + `/purchaseSalesStockIn/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
// 内蒙中心入库打印
export function printPurchaseSalesStockIn(data) {
  return request({
    url: prePath + '/purchaseSalesStockIn/print',
    method: 'post',
    data,
  })
}
// 内蒙中心出库查询
export function selectPurchaseSalesStockOut(data) {
  return request({
    url: prePath + '/purchaseSalesStockOut/selectPurchaseSalesOutList',
    method: 'post',
    data,
  })
}
// 内蒙中心出库导出
export function exportPurchaseSalesStockOut(data) {
  return request({
    url: prePath + `/purchaseSalesStockOut/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
// 内蒙中心出库导出财务凭证
export function excelFinancialDetailList(data) {
  return request({
    url: prePath + `/purchaseSalesStockOut/excelFinancialDetailList`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
// 内蒙中心出库打印
export function printPurchaseSalesStockOut(data) {
  return request({
    url: prePath + '/purchaseSalesStockOut/print',
    method: 'post',
    data,
  })
}
export function purchaseSalesStockDetailInList(data) {
  return request({
    url: prePath + '/purchaseSalesStockDetailIn/selectPurchaseSalesInList',
    method: 'post',
    data,
  })
}
export function excelPurchaseSalesStockDetailIn(data) {
  return request({
    url: prePath + `/purchaseSalesStockDetailIn/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
export function printPurchaseSalesStockDetailIn(data) {
  return request({
    url: prePath + `/purchaseSalesStockDetailIn/print`,
    method: 'post',
    data,
  })
}
export function getAssetMonthIncomeCostQuery(params) {
  return request({
    url: prePath + `/assetMonthIncomeCostQuery/page`,
    method: 'get',
    params,
  })
}
export function getAssetMonthIncomeCostQueryById(id) {
  return request({
    url: prePath + `/assetMonthIncomeCostQuery/` + id,
    method: 'get',
  })
}
export function excelAssetMonthIncomeCostQuery(params) {
  return request({
    url: prePath + `/assetMonthIncomeCostQuery/excel`,
    method: 'get',
    params,
    responseType: 'blob',
  })
}

//消耗消耗同比统计:基于部门分页查询
export function getConsumePariPassuDetailsByDeptPage(data) {
  return request({
    url: prePath + `/consumePariPassuDetails/byDept/page`,
    method: 'post',
    data,
  })
}

//消耗消耗同比统计:增长速度分析
export function getConsumePariPassuDetailsByDeptPageSum(data) {
  return request({
    url: prePath + `/consumePariPassuDetails/byDept/sum`,
    method: 'post',
    data,
  })
}
//消耗消耗同比统计:基于部门分页查询
export function printConsumePariPassuDetailsByDept(data) {
  return request({
    url: prePath + `/consumePariPassuDetails/byDept/print`,
    method: 'post',
    data,
  })
}
//消耗消耗同比统计:基于部门分页查询
export function excelConsumePariPassuDetailsByDept(data) {
  return request({
    url: prePath + `/consumePariPassuDetails/byDept/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
//消耗消耗同比统计:基于部门合计汇总
export function getConsumePariPassuDetailsByDeptSum(data) {
  return request({
    url: prePath + `/consumePariPassuDetails/byDept/sum`,
    method: 'post',
    data,
  })
}
//消耗消耗同比统计:基于产品分页查询
export function getConsumePariPassuDetailsByProductPage(data) {
  return request({
    url: prePath + `/consumePariPassuDetails/byProduct/page`,
    method: 'post',
    data,
  })
}
//消耗消耗同比统计:增长速度分析
export function getConsumePariPassuDetailsByProductPageSum(data) {
  return request({
    url: prePath + `/consumePariPassuDetails/byProduct/sum`,
    method: 'post',
    data,
  })
}
//消耗消耗同比统计:基于合计汇总
export function getConsumePariPassuDetailsByProductSum(data) {
  return request({
    url: prePath + `/consumePariPassuDetails/byProduct/sum`,
    method: 'post',
    data,
  })
}
//消耗消耗同比统计:基于产品分页查询
export function printConsumePariPassuDetailsByProduct(data) {
  return request({
    url: prePath + `/consumePariPassuDetails/byProduct/print`,
    method: 'post',
    data,
  })
}
//消耗消耗同比统计:基于产品分页查询
export function excelConsumePariPassuDetailsByProduct(data) {
  return request({
    url: prePath + `/consumePariPassuDetails/byProduct/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
// 列表查询
export function getPurchaseSupplierSummaryPage(data) {
  return request({
    url: prePath + `/purchaseSupplierSummary/selectPurchaseSupplierSummary`,
    method: 'post',
    data,
  })
}
//导出
export function excelPurchaseSupplierSummary(data) {
  return request({
    url: prePath + `/purchaseSupplierSummary/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
// 打印
export function printPurchaseSupplierSummary(data) {
  return request({
    url: prePath + `/purchaseSupplierSummary/print`,
    method: 'post',
    data,
  })
}

// 列表查询
export function getUseDeptSummaryPage(data) {
  return request({
    url: prePath + `/useDeptSummary/selectUseDeptSummary`,
    method: 'post',
    data,
  })
}
//导出
export function excelUseDeptSummary(data) {
  return request({
    url: prePath + `/useDeptSummary/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
// 打印
export function printUseDeptSummary(data) {
  return request({
    url: prePath + `/useDeptSummary/print`,
    method: 'post',
    data,
  })
}
//消耗消耗环比统计:基于部门分页查询
export function getConsumeChainRelativeDetailsByDeptPage(data) {
  return request({
    url: prePath + `/consumeChainRelativeDetails/byDept/page`,
    method: 'post',
    data,
  })
}
//消耗消耗环比统计：增长速度分析
export function getConsumeChainRelativeDetailsByDeptPageSum(data) {
  return request({
    url: prePath + `/consumeChainRelativeDetails/byDept/sum`,
    method: 'post',
    data,
  })
}
//消耗消耗环比统计:基于部门分页查询
export function printConsumeChainRelativeDetailsByDept(data) {
  return request({
    url: prePath + `/consumeChainRelativeDetails/byDept/print`,
    method: 'post',
    data,
  })
}
//消耗消耗环比统计:基于部门分页查询
export function excelConsumeChainRelativeDetailsByDept(data) {
  return request({
    url: prePath + `/consumeChainRelativeDetails/byDept/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
//消耗消耗环比统计:基于产品分页查询
export function getConsumeChainRelativeDetailsByProductPage(data) {
  return request({
    url: prePath + `/consumeChainRelativeDetails/byProduct/page`,
    method: 'post',
    data,
  })
}
//消耗消耗环比统计:增长速度分析
export function getConsumeChainRelativeDetailsByProductPageSum(data) {
  return request({
    url: prePath + `/consumeChainRelativeDetails/byProduct/sum`,
    method: 'post',
    data,
  })
}
//消耗消耗环比统计:基于产品分页查询
export function printConsumeChainRelativeDetailsByProduct(data) {
  return request({
    url: prePath + `/consumeChainRelativeDetails/byProduct/print`,
    method: 'post',
    data,
  })
}
//消耗消耗环比统计:基于产品分页查询
export function excelConsumeChainRelativeDetailsByProduct(data) {
  return request({
    url: prePath + `/consumeChainRelativeDetails/byProduct/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
//科室计划执行率分页
export function getDepartmentPlanExecuteRate(params) {
  return request({
    url: prePath + '/departmentPlanExecuteRate/page',
    method: 'get',
    params,
  })
}
//科室计划执行率导出
export function exportDepartmentPlanExecuteRate(params) {
  return request({
    url: prePath + `/departmentPlanExecuteRate/excel`,
    method: 'get',
    responseType: 'blob',
    params,
  })
}
//科室计划执行率打印
export function printDepartmentPlanExecuteRate(params) {
  return request({
    url: prePath + `/departmentPlanExecuteRate/print`,
    method: 'get',
    params,
  })
}
//科室计划执行率分页
export function getPurchApplicationPlanExecuteRate(params) {
  return request({
    url: prePath + '/purchApplicationPlanExecuteRate/page',
    method: 'get',
    params,
  })
}
//科室计划执行率导出
export function exportPurchApplicationPlanExecuteRate(params) {
  return request({
    url: prePath + `/purchApplicationPlanExecuteRate/excel`,
    method: 'get',
    responseType: 'blob',
    params,
  })
}
//科室计划执行率打印
export function printPurchApplicationPlanExecuteRate(params) {
  return request({
    url: prePath + `/purchApplicationPlanExecuteRate/print`,
    method: 'get',
    params,
  })
}
export function getInventoryBatchQueryPage(data) {
  return request({
    url: prePath + '/inventoryBatchQuery/page',
    method: 'post',
    data,
  })
}
export function excelInventoryBatchQuery(data) {
  return request({
    url: prePath + `/inventoryBatchQuery/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
export function printInventoryBatchQuery(data) {
  return request({
    url: prePath + '/inventoryBatchQuery/print',
    method: 'post',
    data,
  })
}
export function getInventoryBatchQueryGroupByProductAll(data) {
  return request({
    url: prePath + '/inventoryBatchQuery/groupByProduct/all',
    method: 'post',
    data,
  })
}
export function getDepartmentPlanExecuteRateAverageRate(params) {
  return request({
    url: prePath + '/departmentPlanExecuteRate/selectAverageRate',
    method: 'get',
    params,
  })
}
export function getPurchApplicationPlanExecuteRateAverageRate(params) {
  return request({
    url: prePath + '/purchApplicationPlanExecuteRate/selectAverageRate',
    method: 'get',
    params,
  })
}
export function selectFloorStoreExportSummary(data) {
  return request({
    url: prePath + '/floorStoreExportSummary/selectFloorStoreExportSummary',
    method: 'post',
    data,
  })
}
export function excelFloorStoreExportSummary(data) {
  return request({
    url: prePath + `/floorStoreExportSummary/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}
export function printFloorStoreExportSummary(data) {
  return request({
    url: prePath + '/floorStoreExportSummary/print',
    method: 'post',
    data,
  })
}
// 财务分类出库统计
// 列表
export function warehouseOutCategoryQuery(data) {
  return request({
    url: prePath + '/warehouseOutCategory/warehouseOutCategoryQuery',
    method: 'post',
    data,
  })
}
// 导出财务分类出库统计
export function warehouseOutCategoryExportExcel(data) {
  return request({
    url: prePath + '/warehouseOutCategory/exportExcel',
    method: 'post',
    data,
    responseType: 'blob',
  })
}
// 财务分类全院进销存统计报表
// 列表
export function subInventorySummaryQuery(data) {
  return request({
    url: prePath + '/subInventorySummaryQuery/selectDeptDeliveryDetailsSummary',
    method: 'post',
    data,
  })
}
// 导出
export function subInventorySummaryQueryExcel(data) {
  return request({
    url: prePath + '/subInventorySummaryQuery/excel',
    method: 'post',
    data,
    responseType: 'blob',
  })
}
// 打印
export function subInventorySummaryQueryPrint(data) {
  return request({
    url: prePath + '/subInventorySummaryQuery/print',
    method: 'post',
    data,
  })
}
export function getAssetMonthIncomeApplyDeptCostQueryPage(params) {
  return request({
    url: prePath + '/assetMonthIncomeApplyDeptCostQuery/page',
    method: 'get',
    params,
  })
}
export function excelAssetMonthIncomeApplyDeptCostQuery(params) {
  return request({
    url: prePath + '/assetMonthIncomeApplyDeptCostQuery/excel',
    method: 'get',
    params,
    responseType: 'blob',
  })
}
// 出库明细统计
// 列表
export function selectDeptDeliveryDetailsSummary(data) {
  return request({
    url:
      prePath + '/deptDeliveryDetailsSummary/selectDeptDeliveryDetailsSummary',
    method: 'post',
    data,
  })
}
// 导出出库明细统计
export function deptDeliveryDetailsSummaryExcel(data) {
  return request({
    url: prePath + '/deptDeliveryDetailsSummary/excel',
    method: 'post',
    data,
    responseType: 'blob',
  })
}
//打印出库明细
export function printDeptDeliveryDetailsSummary(data) {
  return request({
    url: prePath + `/deptDeliveryDetailsSummary/print`,
    method: 'post',
    data,
  })
}

// 维修量统计表
export function selectMaintenanceSummary(data) {
  return request({
    url: prePath + '/maintenanceSummary/selectMaintenanceSummary',
    method: 'post',
    data,
  })
}

/* 冻结记录分页查询领用明细 */
export function getDepotFrozenStockPage(data) {
  return request({
    url: '/depotFrozenStock/customizeList/page',
    method: 'post',
    data,
  })
}

/* 冻结记录替换弹窗 */
export function getDepotFrozenStockChangePage(params) {
  return request({
    url: '/depotFrozenStock/changePage',
    method: 'get',
    params,
  })
}

/* 冻结记录替换弹窗确认 */
export function getDepotFrozenStockChangeSave(data) {
  return request({
    url: '/depotFrozenStock/change',
    method: 'post',
    data,
  })
}

/* 冻结记录替换弹窗确认 */
export function getDepotFrozenStockChangeById(id) {
  return request({
    url: '/depotFrozenStock/' + id,
    method: 'get',
  })
}
// 采购供应商汇总导出辅助核算明细
export function pzhpurchaseSupplierSummaryExcelAccountingDetailList(data) {
  return request({
    url: prePath + '/pzhpurchaseSupplierSummary/excelAccountingDetailList',
    method: 'post',
    data,
    responseType: 'blob',
  })
}
// 科室出库导出辅助核算明细
export function deptDeliveryDetailsSummaryExcelAccountingDetailList(data) {
  return request({
    url: prePath + '/deptDeliveryDetailsSummary/excelAccountingDetailList',
    method: 'post',
    data,
    responseType: 'blob',
  })
}

// 科室消耗导出辅助核算明细
export function consumeDeptDeliveryDetailsSummaryExcelAccountingDetailList(
  data
) {
  return request({
    url:
      prePath + '/consumeDeptDeliveryDetailsSummary/excelAccountingDetailList',
    method: 'post',
    data,
    responseType: 'blob',
  })
}

// 消耗明细统计
// 列表
export function consumeDeptDeliveryDetailsSummarySelectDeptDeliveryDetailsSummary(
  data
) {
  return request({
    url:
      prePath +
      '/consumeDeptDeliveryDetailsSummary/selectDeptDeliveryDetailsSummary',
    method: 'post',
    data,
  })
}
// 导出消耗明细统计
export function consumeDeptDeliveryDetailsSummaryExcel(data) {
  return request({
    url: prePath + '/consumeDeptDeliveryDetailsSummary/excel',
    method: 'post',
    data,
    responseType: 'blob',
  })
}
//打印消耗明细
export function printConsumeDeptDeliveryDetailsSummary(data) {
  return request({
    url: prePath + `/consumeDeptDeliveryDetailsSummary/print`,
    method: 'post',
    data,
  })
}

//分页查询设备维修次数
export function getEquipmentMaintenanceTimesCustomizeList(data) {
  return request({
    url: prePath + '/equipmentMaintenanceTimes/customizeList/page',
    method: 'post',
    data,
  })
}

//打印设备维修次数
export function printEquipmentMaintenanceTimes(data) {
  return request({
    url: prePath + `/equipmentMaintenanceTimes/print`,
    method: 'post',
    data,
  })
}

//导出设备维修次数
export function exportEquipmentMaintenanceTimes(data) {
  return request({
    url: prePath + `/equipmentMaintenanceTimes/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}

//分页查询设配件使用情况
export function getRepairPartsUseSummaryCustomizeList(data) {
  return request({
    url: prePath + '/repairPartsUseSummary/customizeList/page',
    method: 'post',
    data,
  })
}

//打印设配件使用情况
export function printRrepairPartsUseSummary(data) {
  return request({
    url: prePath + `/repairPartsUseSummary/print`,
    method: 'post',
    data,
  })
}

//导出设配件使用情况
export function exportRepairPartsUseSummary(data) {
  return request({
    url: prePath + `/repairPartsUseSummary/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}

//分页查询保修次数统计表
export function getRepairTimesStatisticalCustomizeList(data) {
  return request({
    url: prePath + '/repairTimesStatistical/customizeList/page',
    method: 'post',
    data,
  })
}

//打印保修次数统计表
export function printRrepairTimesStatistical(data) {
  return request({
    url: prePath + `/repairTimesStatistical/print`,
    method: 'post',
    data,
  })
}

//导出保修次数统计表
export function exportRepairTimesStatistical(data) {
  return request({
    url: prePath + `/repairTimesStatistical/excel`,
    method: 'post',
    responseType: 'blob',
    data,
  })
}

//维修量统计表-导出excel
export function exportMaintenanceSummary(data) {
  return request({
    url: prePath + '/maintenanceSummary/excel',
    method: 'post',
    data,
    responseType: 'blob',
  })
}
// 满意度统计
export function getDeptSatisfaction(params) {
  return request({
    url: '/repair/repairOrder/pageDeptSatisfaction',
    method: 'get',
    params,
  })
}
//满意度导出
export function excelDeptSatisfaction(params) {
  return request({
    url: '/repair/repairOrder/excelDeptSatisfaction',
    method: 'get',
    params,
    responseType: 'blob',
  })
}
//满意度打印
export function printDeptSatisfaction(data) {
  return request({
    url: '/repair/repairOrder/printDeptSatisfaction',
    method: 'post',
    data,
  })
}

//维修状态表
export function maintenanceStatusSummaryList(data) {
  return request({
    url: prePath + `/maintenanceStatusSummary/selectMaintenanceSummary`,
    method: 'post',
    data,
  })
}

//维修状态表-导出excel
export function exportMaintenanceSummaryExcel(data) {
  return request({
    url: prePath + '/maintenanceStatusSummary/excel',
    method: 'post',
    data,
    responseType: 'blob',
  })
}

//月度分析报表
export function getAssetMonthExpenseCostQueryPage(params) {
  return request({
    url: prePath + '/assetMonthExpenseCostQuery/page',
    method: 'get',
    params,
  })
}
export function getAssetMonthExpenseCostQueryAll(params) {
  return request({
    url: prePath + '/assetMonthExpenseCostQuery/all',
    method: 'get',
    params,
  })
}
export function getAssetMonthExpenseCostQueryDetail(params) {
  return request({
    url: prePath + '/assetMonthExpenseCostQuery/reportDetail',
    method: 'get',
    params,
  })
}
export function assetMonthExpenseCostQueryExcel(params) {
  return request({
    url: prePath + '/assetMonthExpenseCostQuery/excel',
    method: 'get',
    params,
    responseType: 'blob',
  })
}
// 设备指标分析报表 列表
export function getAssetIndexAnalysisPage(params) {
  return request({
    url: prePath + '/assetIndexAnalysis/page',
    method: 'get',
    params,
  })
}
// 设备指标分析报表 导出
export function excelAssetIndexAnalysis(params) {
  return request({
    url: prePath + '/assetIndexAnalysis/excel',
    method: 'get',
    params,
    responseType: 'blob',
  })
}
// 成本结构分析 列表
export function getAssetCostStructureAnalysis(params) {
  return request({
    url: prePath + '/assetCostStructureAnalysis/page',
    method: 'get',
    params,
  })
}
// 成本结构分析 导出
export function excelAssetCostStructureAnalysis(params) {
  return request({
    url: prePath + '/assetCostStructureAnalysis/excel',
    method: 'get',
    params,
    responseType: 'blob',
  })
}
// 本量利分析 列表
export function getCostVolumeProfitAnalysis(params) {
  return request({
    url: prePath + '/assetCostVolumeProfitAnalysis/page',
    method: 'get',
    params,
  })
}
// 本量利分析 导出
export function excelCostVolumeProfitAnalysis(params) {
  return request({
    url: prePath + '/assetCostVolumeProfitAnalysis/excel',
    method: 'get',
    params,
    responseType: 'blob',
  })
}
